package com.zlsy.springbootdemo.state.demo;

/**
 * @author zhouliang
 * @date 2021/1/23 12:25
 */
public class StartState implements State{
    @Override
    public void doAction(Context context) {
        System.out.println("Player is in start state");
        context.setState(this);
    }

    @Override
    public String toString(){
        return "Start State";
    }
}
